import turtle

# 画笔粗细
turtle.pensize(15)
# 红虹
turtle.pencolor("red")
turtle.left(90)
turtle.circle(150, 180)
# 橙虹
turtle.penup()
turtle.pencolor("orange")
turtle.left(90)
turtle.forward(15)
turtle.left(90)
turtle.pendown()
turtle.circle(-135, 180)
# 黄虹
turtle.penup()
turtle.pencolor("yellow")
turtle.right(90)
turtle.forward(15)
turtle.right(90)
turtle.pendown()
turtle.circle(120, 180)
# 绿虹
turtle.penup()
turtle.pencolor("green")
turtle.left(90)
turtle.forward(15)
turtle.left(90)
turtle.pendown()
turtle.circle(-105, 180)
# 浅蓝虹
turtle.penup()
turtle.pencolor("light blue")
turtle.right(90)
turtle.forward(15)
turtle.right(90)
turtle.pendown()
turtle.circle(90, 180)
# 深蓝虹
turtle.penup()
turtle.pencolor("blue")
turtle.left(90)
turtle.forward(15)
turtle.left(90)
turtle.pendown()
turtle.circle(-75, 180)
# 紫虹
turtle.penup()
turtle.pencolor("purple")
turtle.right(90)
turtle.forward(15)
turtle.right(90)
turtle.pendown()
turtle.circle(60, 180)

turtle.done()
